type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
/**
 * 分解
 */
type excludeType = Exclude<keyof Todo, 'description'>
type PickType = Pick<Todo, excludeType> // "title" | "completed" s100
interface Todo {
  title: string
  completed: boolean
  description: string
  // phone: number
}

type TodoPreview = Omit<Todo, 'description'> //type TodoPreview={} s101 === s100
const todo: TodoPreview = {
  title: 'Clean room',
  completed: false,
}

export {}
